Yacon.util.StringBuffer = function()
{
 	this.bufferList   = new Array();		
}
Yacon.util.StringBuffer.Extend(Object,{
	
	append:function(str)
	{
		this.bufferList.add(str);
		return this;
	},
	
	clear:function()
	{
		this.bufferList.clear();
		this.bufferList = new Array();
		return this;
	},
	
	toStr:function()
	{
		var bufStr ="";
		var temp;
		for (var i=0;i<this.bufferList.size();i++)
		{
			temp = this.bufferList.get(i);
			if (Yacon.isString(temp))
				bufStr =  bufStr+ temp;
		}
		return bufStr;	
	}
})




